#include <stdio.h>
#include <stdlib.h>
#include <logging/log_backend.h>

static void put(const struct log_backend *const backend,
		struct log_msg *msg)
{

}

static void log_backend_custom_init(const struct log_backend *const backend)
{
}

static void panic(struct log_backend const *const backend)
{

}

static void dropped(const struct log_backend *const backend, uint32_t cnt)
{

}

static void process(const struct log_backend *const backend,
		union log_msg2_generic *msg)
{

}

static const struct log_backend_api log_backend_custom_api = {
	.process = IS_ENABLED(CONFIG_LOG2) ? process : NULL,
	.put = put,
	.put_sync_string = NULL,
	.put_sync_hexdump = NULL,
	.panic = panic,
	.init = log_backend_custom_init,
	.dropped = dropped,
};


LOG_BACKEND_DEFINE(log_backend_custom, log_backend_custom_api, true);

